import axios from "axios";
//创建axios实例
const service=axios.create({
    //url开头
    baseURL:"api",
    timeout: 5000,
    //请求头配置 
    headers:{
        "Content-Type": "application/json"
    }
})
export default service